[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
rtparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerlayer

[NTG-context] Re: incosistent output of --- dash

2024-04-07 Thread vm via ntg-context
\starttext \startbuffer \starttabulate[|T] \NC U+0002D \NC - \NC -- \NC --- \NC\NR \NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR \NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR \stoptabulate \stopbuffer \nohyphencollapsing \getbuffer \setupbodyfont[pagella] \getbuffer \dohyphencollapsing \getbuffer

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Hans Hagen
be the wrong symbol in the document, there are many dashes in unicode which look similar in the input and output files. \starttext \startbuffer \starttabulate[|T] \NC U+0002D \NC - \NC -- \NC --- \NC\NR \NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR \NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR \stop

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Wolfgang Schuster
ere are many dashes in unicode which look similar in the input and output files. \starttext \startbuffer \starttabulate[|T] \NC U+0002D \NC - \NC -- \NC --- \NC\NR \NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR \NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR \stoptabulate \stopbuffer \getbuffer \setupbodyfont[

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
eference[xyz]{} > \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] > \NC    \reference[xyz]{} \NC \NC\NR \NC \doifnotmode{*trialtypesetting}{\pagereference[xyz]} \NC \NC\NR > \stoptabulate > > > \pagebreak > > \at{page}[xyz] > > \stoptext > > The code does work

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 15.03.2024 um 20:50: When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext %\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \NC \doifnotmode{*trialtypesetting

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext%\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line #2

[NTG-context] Re: new context option

2024-02-24 Thread Otared Kavian
/find> >> >> Best regards: Otared >> >>> On 22 Feb 2024, at 18:40, Hans Hagen >> <mailto:j.ha...@xs4all.nl>> wrote: >>> Hi, >>> >>> As I needed to check some commands i added this: >>> &g

[NTG-context] Re: new context option

2024-02-24 Thread Denis Maier via ntg-context
wrote: Hi, As I needed to check some commands i added this:   context --find="%\starttabulate" which will (should) give a list of lines/files in the documentation where this command is used.

[NTG-context] Re: new context option

2024-02-24 Thread Otared Kavian
needed to check some commands i added this: > > context --find="%\starttabulate" > > which will (should) give a list of lines/files in the documentation where > this command is used. > > Hans > > -

[NTG-context] new context option

2024-02-22 Thread Hans Hagen
Hi, As I needed to check some commands i added this: context --find="%\starttabulate" which will (should) give a list of lines/files in the documentation where this command is us

[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Hans Hagen via ntg-context
withdots withcolor "red";    setbounds currentpicture to OverlayBox; \stopuseMPgraphic Thank you! (I’m sure I already used that somewhere… Must document…) ok, new feature dedicated to Hraban ... who then of courese has to document it. \starttext \starttabulate \FL[1,2] % linef

[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
t{#1}{city}\crlf \ifxmlattempty{#1}{telephone}{\vskip -1em}\else{\phonelink{\xmlatt{#1}{telephone}}}\fi %\vskip -1em \xmlflush{#1} \blank[big] \stopxmlsetups % The only purpose of the element is to make a table of members. \startxmlsetups xml:list:members \starttabulate[|l|l|l|] \x

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
a try, using the same syntax as \starttable: >> \starttable[|c|c|] >> \HL >> \VL \bf Year \VL \bf Citizens \VL\SR >> \HL >> \VL 1675 \VL ˜428 \VL\FR >> \VL 1795 \VL 1124 \VL\MR >> \VL 1880 \VL 2405 \VL\MR >> \VL 1995 \VL 7408 \VL\LR >> \HL &

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
ame syntax as \starttable: \starttable[|c|c|] \HL \VL \bf Year \VL \bf Citizens \VL\SR \HL \VL 1675 \VL ˜428 \VL\FR \VL 1795 \VL 1124 \VL\MR \VL 1880 \VL 2405 \VL\MR \VL 1995 \VL 7408 \VL\LR \HL \stoptable \starttabulate[|c|c|] \HL \VL \bf Year \VL \bf Citizens \VL\SR \HL \VL 1675 \VL ˜428 \VL\FR \VL 1795 \VL 1

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
as long as it fits. I just gave that a try, using the same syntax as \starttable: \starttable[|c|c|] \HL \VL \bf Year \VL \bf Citizens \VL\SR \HL \VL 1675 \VL ˜428 \VL\FR \VL 1795 \VL 1124 \VL\MR \VL 1880 \VL 2405 \VL\MR \VL 1995 \VL 7408 \VL\LR \HL \stoptable \starttabulate[|c|c|] \HL \VL \bf Year

[NTG-context] Re: \starttable questions

2024-01-25 Thread Henning Hraban Ramm
ion. I’m quite sure \starttable will stay, it’s just discouraged since \startTABLE (natural tables) is better if you need more than \starttabulate. In a recent answer on this list, Mikael helped someone by pointing out the \HF[...] command. The \HF command is not listed in the \starttable wiki

[NTG-context] Testing whether an XML attribute exists

2023-10-17 Thread Michael Guravage
{#1}{city}\crlf \xmlatt{#1}{telephone}\crlf \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:list:members \starttabulate[|l|l|l|l|] \xmlflush{#1} \stoptabulate \stopxmlsetups \startxmlsetups xml:list:member \NC \xmlatt{#1}{name} {\tfxx \xmlatt{#1}{maiden_name}} \NC \xmlatt{#1}{birthday}

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
is created. \definetyping[MyTyping][style=\tt] \typefile[MyTyping][numbering=line]{three_lines.txt} Still works if used in a column \startcolumns \typefile[MyTyping][numbering=line]{three_lines.txt} \column :-) \stopcolumns \blank But doesn't work if used in tabulate \starttabulate[|p|p|] \NC \typefil

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p|] \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
t; \startsetups[mypenalties] > > \setdefaultpenalties > > \setpenalties\clubpenalties{1}{150} > > \setpenalties\widowpenalties{1}{1} > > \setpenalties\displaywidowpenalties{1}{1} > > \stopsetups > > > > \setuplayout[setups=mypenaltie

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
\startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
\startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p

[NTG-context] Penalties and overprinting in tabulate

2023-08-18 Thread denis.maier
\setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p|] \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
. So, when Mikael and I were looking at one of his documents that mixes a lot of math into itemized situations, a different variant was made (ok, there was another reason but that's a bit technical). At that time, I had already adapted itemize to work a bit better with bTABLE and starttabulate

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
. So, when Mikael and I were looking at one of his documents that mixes a lot of math into itemized situations, a different variant was made (ok, there was another reason but that's a bit technical). At that time, I had already adapted itemize to work a bit better with bTABLE and starttabulate

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
are not displayed. \setuppagenumbering [alternative=doublesided,location=] \setupcaption[style=sans,headstyle=sans] \starttext \startchapter[title={Page Numbering Test}] \startplacetable[location={here,spit,force},title={Title?}] \starttabulate[|rp|lp|] \HL \NC tufte \NC \input tufte

Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Bruce Horrocks via ntg-context
> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context > wrote: > > Hi, > is it possible to override the defined orienatation for a given cell ? \starttext \starttabulate[|l|c|r|] \NC this and that \NC left and right \NC here and there \NC \NR \NC such and so \NC \rotate[

Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Denis Maier via ntg-context
Ok, if you use p for the column definition you can just use \setupalign on individual cells... %%% \starttext \starttabulate[|pA{verytolerant,extremestretch}|pA{verytolerant,extremestretch}|] \NC Heading flushleft \NC \setupalign[flushright] Heading flushright \NC \NR \NC \input

[NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Denis Maier via ntg-context
Hi, is it possible to override the defined orienatation for a given cell ? Take this example from the wiki: %% \starttext \starttabulate[|l|c|r|] \NC this and that \NC left and right \NC here and there \NC \NR \NC such and so \NC up and down \NC on and on \NC \NR

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
trivial - just needed to use \long\def for > \stoptabulate so the following appears to work: > > \def\startMyExample{\starttabulate[|r|c|l|p|]} > \long\def\stopMyExample{\stoptabulate} %% long def required here > \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Thanks Julian - I tried a startstop environment originally but it didn't work. The answer turns out to be trivial - just needed to use \long\def for \stoptabulate so the following appears to work: \def\startMyExample{\starttabulate[|r|c|l|p|]} \long\def\stopMyExample{\stoptabulate} %% long

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Hans Hagen via ntg-context
table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample \MyExampleItem{before}{after}{change before into after} \MyExampleItem

Re: [NTG-context] Bug in tabulate

2023-03-21 Thread Hans Hagen via ntg-context
On 3/21/2023 7:20 AM, Li Yanrui (李延瑞) via ntg-context wrote: Hi, Please see the following example: \startTEXpage[offset=5mm] \starttabulate[|c|c|c|] \VL 1 \VL 2 \VL 3\VL\NR \stoptabulate \blank \starttabulate[|c|c|c|] \NC 1 \NC 2 \NC 3\NR \stoptabulate \stopTEXpage In its result

[NTG-context] Bug in tabulate

2023-03-21 Thread 李延瑞
Hi, Please see the following example: \startTEXpage[offset=5mm] \starttabulate[|c|c|c|] \VL 1 \VL 2 \VL 3\VL\NR \stoptabulate \blank \starttabulate[|c|c|c|] \NC 1 \NC 2 \NC 3\NR \stoptabulate \stopTEXpage In its result, there is a rule in the left side of the second tabulate. The result

Re: [NTG-context] Problem with \stoptabulate

2023-03-20 Thread jbf via ntg-context
typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample

[NTG-context] Problem with \stoptabulate

2023-03-20 Thread Bruce Horrocks via ntg-context
I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
\startxmlsetups xml:table \startpostponingnotes \starttabulate[|p|p|] \xmlfilter{#1}{/tr/command(xml:table:tr)} \stoptabulate \stoppostponingnotes \stopxmlsetups \startxmlsetups xml:table:tr \xmlfilter{#1}{/td/command(xml:table:tr:td)}\NC\NR \stopxmlsetups

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
\startxmlsetups xml:table-wrap \startpostponingnotes \xmlflush{#1} \stoppostponingnotes \stopxmlsetups \startxmlsetups xml:table \startpostponingnotes \starttabulate[|p|p|] \xmlfilter{#1}{/tr/command(xml:table:tr)} \stoptabulate \stoppostponingnotes \stopxmlsetups

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread jbf via ntg-context
that. That was satisfactory in this case. Tabulate might have to be the solution for a different set of circumstances. Julian On 27/2/23 23:26, mf via ntg-context wrote: I would try \setuptabulate, \starttabulate ... \stoptabulate. It has some limitations (though Hans added some features recently

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread mf via ntg-context
I would try \setuptabulate, \starttabulate ... \stoptabulate. It has some limitations (though Hans added some features recently), but it should work. Massi Il 24/02/23 06:41, jbf via ntg-context ha scritto: I have the following setup for side-by-side paras. \defineparagraphs[Two][n=2

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
the moment: %%% \define[2]\MyChapter{ \starttabulate[|p(\layoutcolumnwidth)|p(\layoutcolumnwidth)|] \NC \structureuservariable{author} \NC \structureuservariable{bio} \NR \stoptabulate } \definehead[interview][chapter] \setuphead[interview][ page=right, command=

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
cture. > > Here is my code at the moment: > > %%% > > \define[2]\MyChapter{ >\starttabulate[|p(\layoutcolumnwidth)|p(\layoutcolumnwidth)|] >\NC \structureuservariable{author} \NC \structureuservariable{bio} \NR >\stoptabulate > } > &g

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
ce to keep the \startstopinterview structure. Here is my code at the moment: %%% \define[2]\MyChapter{ \starttabulate[|p(\layoutcolumnwidth)|p(\layoutcolumnwidth)|] \NC \structureuservariable{author} \NC \structureuservariable{bio} \NR \stoptabulate } \definehead[intervie

[NTG-context] \startnarrow seems to have no effect for tabulate

2023-02-22 Thread Denis Maier via ntg-context
=no] \startnarrow[left=5cm,right=5cm] \starttabulate [|p|p|] \NC Das ist ein Text \NC Das ist noch ein Text \NC\NR \NC Das ist ein Text \NC Das ist noch ein Text \NC\NR \NC Das ist ein Text \NC Das ist noch ein Text \NC\NR \stoptabulate \stopnarrow \stopplacefigure \stoptext

Re: [NTG-context] Tabulate \TH command not working in latest release

2023-01-04 Thread Hans Hagen via ntg-context
On 1/5/2023 12:16 AM, Michael Guravage via ntg-context wrote: While typesetting a document containing a small tabulated table with the latest release I noticed that the tabulate \TH command hadn't added any vertical space between the rows. Here's a mwe. \starttext   \starttabulate[|l|l

[NTG-context] Tabulate \TH command not working in latest release

2023-01-04 Thread Michael Guravage via ntg-context
While typesetting a document containing a small tabulated table with the latest release I noticed that the tabulate \TH command hadn't added any vertical space between the rows. Here's a mwe. \starttext \starttabulate[|l|l|] \NC Γ \NC Gamma \NC\NR \NC Θ \NC Theta \NC\NR \TB[line

Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context
i get an error running the sample code: \starttext \defineorientation[test][orientation=down,vertical=top] \startbuffer[b] \definetabulatemove[a][xoffset=40pt] \definetabulatemove[b][orientation=test,yoffset=depth] \starttabulate[|c|c|] \TM[a] \NC \darkred cell one \NC \darkgray cell one

[NTG-context] new upload

2022-12-27 Thread Hans Hagen via ntg-context
Hi, I uploaded lmtx. There have been some additions to tabulate. \starttext % \showboxes % \showstruts \starttabulate[|w(top,3cm)|w(top,3cm)|] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|] \NC test

Re: [NTG-context] How to stop enumerated tabulate environments from shifting to the right?

2022-11-12 Thread fv leung via ntg-context
Will this suit you? \starttext \input knuth \startitemize[n] \item x \stopitemize \startitemize[n][leftmargindistance=-.1\textwidth,width=.1\textwidth] \starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth

[NTG-context] How to stop enumerated tabulate environments from shifting to the right?

2022-11-12 Thread Joel via ntg-context
When I place a tabulate environment inside itemize, it indents and the entire table is shifted to the right about 1/2". \starttext    \input knuth         \startitemize[n]             \item x         \stopitemize         \startitemize[n]              \starttabulate[|lp(.1\textwidth)|c

Re: [NTG-context] How to make a row of text have vertical centering in tabulate environment?

2022-10-25 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 25.10.2022 um 02:35: I have a simple tabulate environment like this: \starttext \starttabulate[|p(.45\textwidth)|cp(.1\textwidth)|p(.45\textwidth)|]             \NR                 \HL                 \NC Cause    \NC \NC Effect    \NC\NR

[NTG-context] How to make a row of text have vertical centering in tabulate environment?

2022-10-24 Thread Joel via ntg-context
I have a simple tabulate environment like this: \starttext    \starttabulate[|p(.45\textwidth)|cp(.1\textwidth)|p(.45\textwidth)|]             \NR                 \HL                 \NC Cause    \NC \NC Effect    \NC\NR                 \HL                 \NC            \NC \NC

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
phs[paraverse][n=2 ] \setupparagraphs[paraverse][1][ width=.45\textwidth, distance=2em, align={verytolerant,stretch}] \startparaverse \getbuffer[lines1] \nextparaverse \getbuffer[lines2] \stopparaverse Via tabulate \starttabulate[|p|p|] \N

[NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Denis Maier via ntg-context
to achieve this? Best, Denis %%% \startbuffer[lines] \startlines[after={\blank}] this is a poem with two stanzas \stoplines \stopbuffer \starttext With a blank between the stanzas: \getbuffer[lines] Without a blank between the stanzas: \starttabulate[|p|p|] \NC \getbuffer

Re: [NTG-context] New tabulate features broken under new maths release

2022-07-09 Thread Hans Hagen via ntg-context
On 7/9/2022 6:45 PM, Bruce Horrocks via ntg-context wrote: \starttext \starttabulate[|lG{}|lG{}|] \NC \showglyphs \setalignmentcharacter{=}111=111 \NC \setalignmentcharacter{=}111=111 \NC\NR \stoptabulate \stoptext in node-ali.lmt around 615 add this if test if signal

[NTG-context] New tabulate features broken under new maths release

2022-07-09 Thread Bruce Horrocks via ntg-context
Hi Hans, A few months back you announced some new tabulate features and gave some examples, from which I have taken the following MWE: \starttext \starttabulate[|lG{}|lG{}|] \NC \showglyphs \setalignmentcharacter{=}111=111 \NC \setalignmentcharacter{=}111=111 \NC\NR \stoptabulate \stoptext

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Wolfgang Schuster via ntg-context
I sent a fix to the dev list. Wolfgang Joel via ntg-context schrieb am 29.05.2022 um 18:34: After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]  \HL         \NC {\bf Term} \NC

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Joel via ntg-context
ate to ConTeXt, the code no longer seems to allow me > to \input a file within a table: > > \starttext > \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|] >      \HL >          \NC {\bf Term} \NC {\bf Definition} \NC\NR >      \HL >          \input test2.tex %<he

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Henning Hraban Ramm via ntg-context
Did you try \input{file.tex} ? (Just an idea, didn’t try.) Hraban Am 29.05.22 um 18:34 schrieb Joel via ntg-context: After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL

[NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Joel via ntg-context
After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL         \NC {\bf Term} \NC {\bf Definition} \NC\NR                     \HL         \input test2.tex %<here you se

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Wolfgang Schuster via ntg-context
when the examples are created. Below is a simple example. \setuppapersize[A5] \starttext \starttabulate[|l|p|] \NC Donald Knuth  \NC \input{knuth}  \NC\NR \NC Hermann Zapf  \NC \input{zapf}   \NC\NR \NC Edward Tufte  \NC \input{tufte}  \NC\NR \NC Eugene Linden \NC \input{linden} \NC\NR

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Steffen Wolfrum via ntg-context
uppapersize[A10, landscape][A8, landscape] \setuppaper[nx=2,ny=2] \setuparranging[XY] \switchtobodyfont[5pt] \setuppagenumbering[location={header,inright}] \showframe[edge] \setuptabulate [split=yes, header=text, title={\color[red] Fenchurch St. Paul}, frame=on] \starttabulate[|p(1.2cm)|

Re: [NTG-context] recursion in a table

2022-05-02 Thread Hans Hagen via ntg-context
being protected too (the engine's alignments scanners have some lookahead properties that cna otherwise interfere). \starttabulate[||] \NC \infofont\meaningasis \NC \NC \NR \NC \infofont\meaningasis \NR \NC \NR \NC \infofont\meaningasis \HL \NC \NR \NC \infofont\meaningasis \FL \NC

Re: [NTG-context] recursion in a table

2022-05-01 Thread Aditya Mahajan via ntg-context
upexternalfigures[width=3em,height=2em,frame=on,] > > %\def\TXT{\ruledhbox{\bf(XyX)}} > \def\TXT{\externalfigure[pic]} > > \starttabulate[|l|l|l|l|l|l|] > \NC\NC normal\NC depth\NC fit\NC broad\NC high\NC\NR > \HL > \dostepwiserecurse{0}{359}{45}{% > %\exp

[NTG-context] recursion in a table

2022-05-01 Thread Henning Hraban Ramm via ntg-context
[pic]} \starttabulate[|l|l|l|l|l|l|] \NC\NC normal\NC depth\NC fit\NC broad\NC high\NC\NR \HL \dostepwiserecurse{0}{359}{45}{% %\expanded{\setuprotate[rotation=\recurselevel]} \NC{\expanded{\recurselevel}˚}% \NC{\ruledhbox{X\rotate[location=normal,rotation=\recurselevel]{\TXT}X

[NTG-context] Why can I no longer place \input inside table after update?

2022-04-23 Thread Joel via ntg-context
After I ran an update on ConTeXt, my code gets an error: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL         \NC {\bf Term} \NC {\bf Definition} \NC\NR                     \HL         \input test2.tex     \HL \stoptabulate \stoptext File test2.tex contains "\NC {\bf

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 8:08 AM, Ajith R via ntg-context wrote: Thanks for this. But, I changed to natural tables as suggested by Kausika and that solved my problems. if it's only text, \starttabulate works ok too (and often better) Hans

Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Wolfgang Schuster via ntg-context
. When I use local footnotes within a tabulate section, the foot notes gets placed unevenly. If I remove the "c" from \starttabulate[|p(3cm)c|p|], then the footnotes are aligned. Is it a bug? If not, how can I correct it? 1. Provide the correct number of columns in your table because in the

[NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Ajith R via ntg-context
, the foot notes gets placed unevenly. If I remove the "c" from \starttabulate[|p(3cm)c|p|], then the footnotes are aligned. Is it a bug? If not, how can I correct it? \starttext \startlocalfootnotes \starttabulate[|p(10cm)c|p|] \NC [f]\footnote[f]{first foot note} first sentence\NC \NR \NC [s

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-20 Thread Jorge Manuel via ntg-context
in the second I need to include a list of itens. My > > > approach is like this: > > > > > > \starttabulate[|p(4cm)|p|] > > >  \FL > > >  \NC Objetivos \NC Estratégias \NC\NR > > >  \LL > > >  \NC Melhorar a qualidade do sucesso educativo \NC > > &

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-19 Thread Hans Hagen via ntg-context
in two columns: in the first a have a text sentence in the second I need to include a list of itens. My approach is like this: \starttabulate[|p(4cm)|p|]  \FL  \NC Objetivos \NC Estratégias \NC\NR  \LL  \NC Melhorar a qualidade do sucesso educativo \NC  \startitemize \item one \item two

Re: [NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-19 Thread Jorge Manuel via ntg-context
The attach. Jorge Magalhães On 19 Dec 2021, 08:18 +, Jorge Manuel , wrote: > Dear Sirs > > I try to tabulate information in two columns: in the first a have a text > sentence in the second I need to include a list of itens. My approach is like > this: > > \st

[NTG-context] Gap in rows if tabulate includes a startitemize

2021-12-19 Thread Jorge Manuel via ntg-context
Dear Sirs I try to tabulate information in two columns: in the first a have a text sentence in the second I need to include a list of itens. My approach is like this: \starttabulate[|p(4cm)|p|]  \FL  \NC Objetivos \NC Estratégias \NC\NR  \LL  \NC Melhorar a qualidade do sucesso educativo \NC

Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
NC S_6 \NC= \NC 6 \NC+ \NC 5 \NC+ \NC\dots \NC+ \NC 2\NC+ \NC 1 \NR > \NC\NC 2S_6 \NC= \NC 7 \NC+ \NC 7 \NC+ \NC\dots \NC+ \NC 7 \NC+ \NC 7 \NR > \stopmathalignment > \stopformula} > \stoptext > > Is there a simpler way to typeset something like this? How about: \usecolors

Re: [NTG-context] Math prime issues for some fonts

2021-11-29 Thread Jack Hill via ntg-context
- also on Windows). I've no idea if this is visible in print since I don't print the pdfs. The effect is also reproducible with the wiki version of context. \starttext \starttabulate[|l|c|] \FL \BC Font name \BC Math sqrt \NR \ML \NC Latin Modern Roman \NC

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-28 Thread Hans Hagen via ntg-context
On 11/28/2021 9:26 AM, Denis Maier via ntg-context wrote: Ok, did some tests: Now I understand what was meant with the limitation that this only supports single line cells: % \starttext % this works \starttabulate[|l|l|] \NS[1][c] Manuskript X \NC\NR \NC foo

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-28 Thread Denis Maier via ntg-context
Ok, did some tests: Now I understand what was meant with the limitation that this only supports single line cells: % \starttext % this works \starttabulate[|l|l|] \NS[1][c] Manuskript X \NC\NR \NC foo \NC bar \NC\NR \stoptabulate % this does not work

[NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
[ header=text, split=yes, title={Fenchurch St. Paul}, ] \starttabulate[|p|p|] \dorecurse{6}{ \NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR \HL \NC Name: \NC Tailor Paul \NC \NR \HL } \stoptabulate \stoptext

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Jean-Philippe Rey via ntg-context
t; A HTML equivalent will look roughly like this: > > > > Manuscript XY > > > Some text in Greek or Hebrew or whatever > This is the translation > > > > With ConteXt I’d like to do something like this >

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Denis Maier via ntg-context
to do something like this \starttabulate[|p(1.2cm)|p(1.2cm)|] \NC Manuscript XY \NR \NC Some text in Greek or Hebrew or whatever \NC This is the translation \NC \NR \stoptabulate This compiles (interestingly?), but the cells at the top aren’t merged. Any ideas ? I know that natural tables

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Jean-Philippe Rey via ntg-context
ns with centered content. Is that possible? > > A HTML equivalent will look roughly like this: > > > > Manuscript XY > > > Some text in Greek or Hebrew or whatever > This is the translation > > > > With ConteXt I’d like to do something like

[NTG-context] Have a cell span multiple columns with tabulate

2021-11-27 Thread Denis Maier via ntg-context
in Greek or Hebrew or whatever This is the translation With ConteXt I'd like to do something like this \starttabulate[|p(1.2cm)|p(1.2cm)|] \NC Manuscript XY \NR \NC Some text in Greek or Hebrew or whatever \NC This is the translation \NC \NR \stoptabulate This compiles

Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Wolfgang Schuster via ntg-context
is normal). Running the same code on the wiki gives the correct output though. Does anyone else get the same output? Screenshot attached. Use \definetypeface to load/set the math fonts. \starttext \starttabulate[|l|c|] \FL \BC Font name \BC Math prime\NC\NR \ML \NC

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Mikael Sundqvist via ntg-context
h][tex gyre pagella math] > > > \definefontfamily[bon][math][tex gyre bonum math] > > > \definefontfamily[sch][math][tex gyre schola math] > > > \definefontfamily[stx][math][stix two math] > > > \starttext > > > \starttabulate[|c|c|] > > > \FL >

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Jack Hill via ntg-context
ontfamily[pag][math][tex gyre pagella math] > > \definefontfamily[bon][math][tex gyre bonum math] > > \definefontfamily[sch][math][tex gyre schola math] > > \definefontfamily[stx][math][stix two math] > > \starttext > > \starttabulate[|c|c|] > > \FL > > \NC \bf Font name \

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Wolfgang Schuster via ntg-context
math] \definefontfamily[stx][math][stix two math] \starttext \starttabulate[|c|c|] \FL \NC \bf Font name \NC \bf Math prime \NR \ML \NC Latin modern \NC \m{x'} \NR \NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR \NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR \NC Bonum \NC \switchtobodyfont[bon] \m

[NTG-context] Math prime issues for some fonts

2021-11-26 Thread Jack Hill via ntg-context
\starttabulate[|c|c|] \FL \NC \bf Font name \NC \bf Math prime \NR \ML \NC Latin modern \NC \m{x'} \NR \NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR \NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR \NC Bonum \NC \switchtobodyfont[bon] \m{x'} \NR \NC Schola \NC \switchtobodyfont[sch] \m{x'} \NR \NC

Re: [NTG-context] Neste itemize in table (or vice-versa?)

2021-11-20 Thread Wolfgang Schuster via ntg-context
Something \eTD \bTD Something \eTD \eTR \bTR \bTD \itemtag \eTD \bTD Something \eTD \bTD Something \eTD \eTR \bTR \bTD \itemtag \eTD \bTD Something \eTD \bTD Something \eTD \eTR \eTABLE \stopitemize \startitemize [a] [right=),stopper=] \starttabulate[|l|lw(.2\textwidth)|p|] \NC \itemtag \NC

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Henning Hraban Ramm via ntg-context
tarted with \NC (and >> wasn’t sure any more if something changed that I forgot), but I probably >> missed one line or something. >> >> The problem with \NS remains: >> >> \starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|] >>

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Wolfgang Schuster via ntg-context
empty column when I started with \NC (and wasn’t sure any more if something changed that I forgot), but I probably missed one line or something. The problem with \NS remains: \starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|] \NC Default \NC Linux \NC MacOS \NC Wi

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Henning Hraban Ramm via ntg-context
testing I got an empty column when I started with \NC (and wasn’t sure any more if something changed that I forgot), but I probably missed one line or something. The problem with \NS remains: \starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|] \NC Default \NC

[NTG-context] tabulate with lp columns

2021-09-19 Thread Henning Hraban Ramm via ntg-context
s ignored. With \NS the alignment is also wrong in the same way. \starttext \starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|] Default \NC Linux \NC MacOS \NC Windows \NC\NR \HL Text Proc \NC LibreOffice \NC Apple Pages \NC MS Office (Word) \NC\NR PDF Viewer\NC Evi

[NTG-context] update lmtx

2021-09-03 Thread Hans Hagen via ntg-context
Hi, The end of the week update provides: \starttext \startTEXpage[offset=10pt] \starttabulate[|c|c|c|] \NC 1 \NC second column \NC third column \NC \NR \NC 2 \NC second\NC third\NC \NR \NC 3 r \NS[1][r]second & third \NC \NR \NC 3 c \

Re: [NTG-context] new upload

2021-08-30 Thread mf via ntg-context
to download the file, the updating process does not complete. The script ends without errors, but it's clear the update has failed. Massi Il 30/08/21 16:30, Hans Hagen via ntg-context ha scritto: Hi, new in this upload are some features in tabulate (not all enabled yet), like \starttabulate[|lG

[NTG-context] new upload

2021-08-30 Thread Hans Hagen via ntg-context
Hi, new in this upload are some features in tabulate (not all enabled yet), like \starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|] \NC 1.1 \NC 2,2 \NC 3=3 \NC a 0xFF \NC \NR \NC 11.11 \NC 22,22 \NC 33=33 \NC b 0xFFF \NC \NR \NC 111.111 \NC 222,222 \NC 333=333 \NC c 0x \NC \NR

[NTG-context] Fwd: Re: Alignment of bullets withn \tabulate within \itemize

2021-08-05 Thread Lukas/ConTeXt via ntg-context
Hello Wolfgang, this look good, thank you. See my slightly modified sample - is there a way to make "MT" horizontally aligned, too? - That within \tabulate is shifted somehow, neither "i0" (\starttabulate[|l|pi0|p|]) produces well aligned result. \starttext   \startit

Re: [NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Wolfgang Schuster via ntg-context
Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03: Hello, let's have the following sample: \starttext \startitemize[packed_,][headstyle_=,] \item CC \starttabulate[|l|||] \NI aa \NC bb \NC\NR \stoptabulate \item AA \stopitemize \stoptext

[NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Lukas/ConTeXt via ntg-context
Hello, let's have the following sample: \starttext \startitemize[packed_,][headstyle_=,] \item CC \starttabulate[|l|||] \NI aa \NC bb \NC\NR \stoptabulate \item AA \stopitemize \stoptext How do I make bullets (\itemtag) horizontally aligned one bellow

[NTG-context] new in upload

2021-06-09 Thread Hans Hagen
withpen pencircle scaled 1pt withcolor "green" ; draw anchorcell (3,3) withpen pencircle scaled 1pt withcolor "red" ; \stopoverlayMPgraphic \starttabulate[synchronize=background,background=mp:whatever-6,format={|l|c|r|}] \NC test \NC test \NC test

  1   2   3   4   5   6   7   8   9   >